package com.syn.vr;

import android.app.Application;
import android.content.Intent;

import com.gaoyi.basemodule.baseUtil.AppUtil;
import com.gaoyi.basemodule.baseUtil.CrashHandler;
import com.syn.vr.service.SyncService;


public class MyApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();
        AppUtil.initContext(getApplicationContext());
        // 捕获全局异常
        CrashHandler.getInstance().init();
        startService(new Intent(this, SyncService.class));
    }
}
